package com.hn658.user.core.dao.db;

import java.util.List;

import com.hn658.framework.dataaccess.mybatis.IMyBatisBaseDAO;
import com.hn658.user.common.entity.AppInfoEO;

public interface IUserAppDBDAO extends IMyBatisBaseDAO<AppInfoEO, Long>{

	public List<AppInfoEO> selectAuthedApps(Long uid);

	public List<AppInfoEO> selectUnAuthedApps(Long uid);

	/**
	 * 
	 * <p>插入用户分配的应用</p> 
	 * @author ztjie
	 * @date 2015-11-16 下午3:42:05
	 * @param uid
	 * @param appId
	 * @see
	 */
	public void insert(Long uid, Long appId);

	/**
	 * 
	 * <p>删除用户分配的应用信息</p> 
	 * @author ztjie
	 * @date 2015-11-16 下午3:45:12
	 * @param uid
	 * @see
	 */
	public void deleteByUid(Long uid);
	
}
